from django.contrib import admin

from app.admin import SimpleModelAdmin
from oa.models import *


@admin.register(ShareFile)
class ShareFileAdmin(SimpleModelAdmin):
    list_display = ['pk', 'file_name', 'file']
    list_display_links = ['pk',  'file_name']
    search_fields = ['file_name']
    date_hierarchy = 'datetime_created'
